package org.zoomdev.zoom.web.exception;

import org.zoomdev.zoom.common.exceptions.CodeException;

/**
 * Restful 风格api 抛出异常的接口
 */
public interface RestException extends CodeException {

    /**
     * HTTP 状态码
     *
     * @return
     */
    int getStatus();

}
